package com.baijiaoxi.common.model.base.service.extension;

import com.baijiaoxi.common.model.base.model.CoreModel;

public interface CopyCreateService<E extends CoreModel> {
    /**
     * 通过复制创建
     * entity.getId()是被复制对象的id
     *
     * @param entity
     * @return
     */
    E createByCopy(E entity);
}
